import * as controllers from '../../controllers'
import koaRouter from 'koa-router'

const router = new koaRouter()
router.prefix('/trial')

// 文件上传
router.post('/common/upload', controllers.common.upload)

// 发送邮箱验证码
router.post('/common/sendEmailCode', controllers.common.sendEmailCode)

// 邮箱登录
router.post('/common/emailLogin', controllers.common.emailLogin)
export default router
